package com.huanf;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author: 35238
 * 功能:
 * 时间: 2023-12-29 21:07
 */
@SpringBootApplication
@EnableDubbo
public class RegProviderApplication {

    //先启动提供者(provider模块)的引导类，再启动消费者(consumer模块)的引导类。如果先启动消费者的话，消费者是启动不了的
    public static void main(String[] args) {
        SpringApplication.run(RegProviderApplication.class, args);
    }

}
